import os.path

c_path = os.path.dirname(__file__) # 获取当前文件的路径
print(c_path)
pro_path = os.path.split(c_path)[0] # 剪短尾部 成为两端 并生成元组,获取第一个
# 数据路径
# 日志路径
# 报告路径
#report_path = os.path.join(pro_path,'reports')
# 报告json路径
report_json_path = os.path.join(pro_path,'reports','report_json')
# 报告html路径
report_html_path = os.path.join(pro_path,'reports','report_html')

print(report_json_path,report_html_path)
